xen/arm: use ioremap to map gic-v2 registers
authorVijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Tue, 1 Jul 2014 06:41:10 +0000 (12:11 +0530)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 2 Jul 2014 11:27:06 +0000 (12:27 +0100)
commit504d05db1b2e98d935f85eedfd40ec7fe263b693
treeb9e89d80f82e9250c718fff299be49f3dded0748
parentaeac0f3d4ce118b3210fdf040d532b6d3d5be472
xen/arm: use ioremap to map gic-v2 registers

gic-v2 driver uses fixmap to map the registers.
Instead use ioremap to access mmio registers.

With this patch, gic-v2 register definitions are updated
to use absolute offset address instead of dividing the
register offset by 4.

Signed-off-by: Vijaya Kumar K <Vijaya.Kumar@caviumnetworks.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/gic.c
xen/arch/arm/vgic.c
xen/include/asm-arm/gic.h